import request from '@/utils/request'

// 查询实习总结列表
export function listPraSummary(query) {
  return request({
    url: '/practice/praSummary/list',
    method: 'get',
    params: query
  })
}

// 查询实习总结详细
export function getPraSummary(id) {
  return request({
    url: '/practice/praSummary/' + id,
    method: 'get'
  })
}

// 新增实习总结
export function addPraSummary(data) {
  return request({
    url: '/practice/praSummary',
    method: 'post',
    data: data
  })
}

// 修改实习总结
export function updatePraSummary(data) {
  return request({
    url: '/practice/praSummary',
    method: 'put',
    data: data
  })
}

// 删除实习总结
export function delPraSummary(id) {
  return request({
    url: '/practice/praSummary/' + id,
    method: 'delete'
  })
}

// 导出实习总结
export function exportPraSummary(query) {
  return request({
    url: '/practice/praSummary/export',
    method: 'get',
    params: query
  })
}